//
//  PlanModel.m
//  IpadTestB
//
//  Created by edianzu on 2017/6/27.
//  Copyright © 2017年 ruilai. All rights reserved.
//

#import "PlanModel.h"

@implementation PlanModel
+(instancetype)modelWithDictionary:(NSDictionary *)dict{
    return [[self alloc] initWithDictionary:dict];
}

-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if (self = [super init]) {
        self.CreateTime = dict[@"CreateTime"];
        self.Title = dict[@"Title"];
        self.CreateTeacher = dict[@"CreateTeacher"];
        self.Id = dict[@"Id"];
        self.ServiceUnitId = dict[@"ServiceUnitId"];
        self.Type = dict[@"Type"];
        self.Status = [dict[@"Status"] boolValue];
    }
    return self;
}
@end
